<div>
    <div class="row ">
        <div class="col-md-2" style="padding-right:0px">
            <vc:create path="admin/marketRuleDiv" callBackListener="marketRule"></vc:create>
        </div>
        <div class="col-md-10 margin-top-xs vc-org-page">
            <div class="bg-white border-radius padding">
                <h5 class="role-title">{{marketRuleInfo.curMarketRule.name}}</h5>
                <div class="role-context ">{{marketRuleInfo.curMarketRule.description}}</div>
                <div class="line-x margin-top"></div>
                <div class="role-menu flex justify-start">
                    <div class="item margin-right" :class="{'active':marketRuleInfo.tabName == 'marketRuleWay'}"  @click="_changeMarketRuleTab('marketRuleWay')">营销方式
                    </div>
                    <div class="item margin-right" :class="{'active':marketRuleInfo.tabName == 'marketRuleCommunity'}"  @click="_changeMarketRuleTab('marketRuleCommunity')">小区授权
                    </div>
                    <div class="item margin-right" :class="{'active':marketRuleInfo.tabName == 'marketRuleObj'}"  @click="_changeMarketRuleTab('marketRuleObj')">作用对象
                    </div>
                </div>
                <div v-if="marketRuleInfo.tabName == 'marketRuleWay' ">
                    <vc:create path="admin/marketRuleWay"></vc:create>
                </div>
                <div v-if="marketRuleInfo.tabName == 'marketRuleCommunity' ">
                    <vc:create path="admin/marketRuleCommunity"></vc:create>
                </div>
                <div v-if="marketRuleInfo.tabName == 'marketRuleObj'">
                    <vc:create path="admin/marketRuleObj"></vc:create>
                </div>
            </div>
        </div>
    </div>
</div>